home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-06-10 | 43.3 KB | 2,471 lines | [TEXT/MPS ] |
- /*______________________________________________________________________
-
- rez.r - Sample Resource File Definitions.
-
- Copyright © 1988, 1989, 1990 Northwestern University. Permission is
- granted to use this code in your own projects, provided you give credit
- to both John Norstad and Northwestern University in your about box or
- document.
-
- These definitions must exactly match the constant definitions in
- the C header file rez.h.
- _____________________________________________________________________*/
-
-
- #include "Types.r"
-
-
- /* Include pictures. */
-
- include "picts";
-
-
-
- /* Menus. */
-
- #define AllItems 0b1111111111111111111111111111111
- #define MenuItem1 0b0000000000000000000000000000001
- #define MenuItem2 0b0000000000000000000000000000010
- #define MenuItem3 0b0000000000000000000000000000100
- #define MenuItem4 0b0000000000000000000000000001000
- #define MenuItem5 0b0000000000000000000000000010000
- #define MenuItem6 0b0000000000000000000000000100000
- #define MenuItem7 0b0000000000000000000000001000000
- #define MenuItem8 0b0000000000000000000000010000000
- #define MenuItem9 0b0000000000000000000000100000000
- #define MenuItem10 0b0000000000000000000001000000000
- #define MenuItem11 0b0000000000000000000010000000000
- #define MenuItem12 0b0000000000000000000100000000000
- #define MenuItem13 0b0000000000000000001000000000000
- #define MenuItem14 0b0000000000000000010000000000000
- #define MenuItem15 0b0000000000000000100000000000000
-
- resource 'MBAR' (128, preload) {
- {128, 129, 130, 131, 132, 133}
- };
-
- resource 'MENU' (128, "Apple", preload) {
- 128,
- textMenuProc,
- AllItems & ~MenuItem3,
- enabled,
- apple,
- {
- "About Sample…",
- noicon, nokey, nomark, plain;
- "Sample Help…",
- noicon, "H", nomark, plain;
- "-",
- noicon, nokey, nomark, plain
- }
- };
-
- resource 'MENU' (129, "File", preload) {
- 129,
- textMenuProc,
- AllItems & ~MenuItem1 & ~MenuItem3 & ~MenuItem7 & ~MenuItem9,
- enabled,
- "File",
- {
- "Close",
- noicon, "W", nomark, plain;
- "Save As…",
- noicon, "S", nomark, plain;
- "-",
- noicon, nokey, nomark, plain;
- "Page Setup…",
- noicon, nokey, nomark, plain;
- "Print…",
- noicon, "P", nomark, plain;
- "Print One",
- noicon, nokey, nomark, plain;
- "-",
- noicon, nokey, nomark, plain;
- "Preferences…",
- noicon, nokey, nomark, plain;
- "-",
- noicon, nokey, nomark, plain;
- "Quit",
- noicon, "Q", nomark, plain
- }
- };
-
- resource 'MENU' (130, "Edit", preload) {
- 130,
- textMenuProc,
- AllItems & ~MenuItem1 & ~MenuItem2 & ~MenuItem3 & ~MenuItem4 & ~MenuItem5,
- enabled,
- "Edit",
- {
- "Undo",
- noicon, "Z", nomark, plain;
- "-",
- noicon, nokey, nomark, plain;
- "Cut",
- noicon, "X", nomark, plain;
- "Copy",
- noicon, "C", nomark, plain;
- "Paste",
- noicon, "V", nomark, plain;
- "Clear",
- noicon, nokey, nomark, plain
- }
- };
-
- resource 'MENU' (131, "Scan", preload) {
- 131,
- textMenuProc,
- AllItems,
- enabled,
- "Scan",
- {
- "File…",
- noicon, nokey, nomark, plain;
- "Folder…",
- noicon, nokey, nomark, plain;
- "Floppies",
- noicon, nokey, nomark, plain;
- "All Disks",
- noicon, nokey, nomark, plain;
- "Some Disks…",
- noicon, nokey, nomark, plain;
- "System File",
- noicon, nokey, nomark, plain;
- "System Folder",
- noicon, nokey, nomark, plain
- }
- };
-
- resource 'MENU' (132, "Gazumbo", preload) {
- 132,
- textMenuProc,
- AllItems,
- enabled,
- "Gazumbo",
- {
- "File…",
- noicon, nokey, nomark, plain;
- "Folder…",
- noicon, nokey, nomark, plain;
- "Floppies",
- noicon, nokey, nomark, plain;
- "All Disks",
- noicon, nokey, nomark, plain;
- "Some Disks…",
- noicon, nokey, nomark, plain;
- "System File",
- noicon, nokey, nomark, plain;
- "System Folder",
- noicon, nokey, nomark, plain
- }
- };
-
- resource 'MENU' (133, "Protect", preload) {
- 133,
- textMenuProc,
- AllItems,
- enabled,
- "Protect",
- {
- "Install Protection INIT…",
- noicon, nokey, nomark, plain;
- "Extract Protection INIT…",
- noicon, nokey, nomark, plain;
- }
- };
-
-
- /* Main window. */
-
- #define windRight 492
- #define windBot 295
-
- #define drive 128
- #define eject 129
- #define scan 130
- #define Gazumbo 131
- #define cancel 132
- #define quit 133
- #define reset 134
-
- #define butTop 182
- #define butLeft 312
- #define butWidth 77
- #define butHeight 20
- #define butHSep 90
- #define butVSep 30
-
- #define butTop2 butTop+butVSep
- #define butTop3 butTop2+butVSep
- #define butLeft2 butLeft+butHSep
-
- #define resetTop 134
- #define resetLeft 438
- #define resetWidth 33
- #define resetHeight 14
-
- resource 'WIND' (128, purgeable, preload) {
- {0, 0, windBot, windRight},
- zoomDocProc,
- invisible,
- noGoAway,
- 0x0,
- "Sample"
- };
-
- resource 'CNTL' (drive, purgeable, preload) {
- {butTop, butLeft, butTop+butHeight, butLeft+butWidth},
- 0,
- visible,
- 0,
- 0,
- pushButProc,
- drive,
- "Drive"
- };
-
- resource 'CNTL' (eject, purgeable, preload) {
- {butTop, butLeft2, butTop+butHeight, butLeft2+butWidth},
- 0,
- visible,
- 0,
- 0,
- pushButProc,
- eject,
- "Eject"
- };
-
- resource 'CNTL' (scan, purgeable, preload) {
- {butTop2, butLeft, butTop2+butHeight, butLeft+butWidth},
- 0,
- visible,
- 0,
- 0,
- pushButProc,
- scan,
- "Scan"
- };
-
- resource 'CNTL' (Gazumbo, purgeable, preload) {
- {butTop2, butLeft2, butTop2+butHeight, butLeft2+butWidth},
- 0,
- visible,
- 0,
- 0,
- pushButProc,
- Gazumbo,
- "Gazumbo"
- };
-
- resource 'CNTL' (cancel, purgeable, preload) {
- {butTop3, butLeft, butTop3+butHeight, butLeft+butWidth},
- 0,
- visible,
- 0,
- 0,
- pushButProc,
- cancel,
- "Cancel"
- };
-
- resource 'CNTL' (quit, purgeable, preload) {
- {butTop3, butLeft2, butTop3+butHeight, butLeft2+butWidth},
- 0,
- visible,
- 0,
- 0,
- pushButProc,
- quit,
- "Quit"
- };
-
- resource 'CNTL' (reset, purgeable, preload) {
- {resetTop, resetLeft, resetTop+resetHeight, resetLeft+resetWidth},
- 0,
- visible,
- 0,
- 0,
- pushButProcUseWFont,
- reset,
- "Reset"
- };
-
-
-
- /* Help window. */
-
- #define helpRight windRight
- #define helpBot windBot
-
- resource 'WIND' (129, purgeable) {
- {0, 0, helpBot, helpRight},
- zoomDocProc,
- invisible,
- goAway,
- 0x0,
- "Help"
- };
-
-
- /* Peferences window. */
-
- resource 'DLOG' (400, purgeable) {
- {0, 0, windBot, windRight},
- noGrowDocProc,
- invisible,
- goAway,
- 0x0,
- 400,
- "Preferences"
- };
-
- resource 'DITL' (400) {
- { /* array DITLarray: 33 elements */
- /* [1] */
- {11, 42, 30, 101},
- StaticText {
- disabled,
- "Beeping"
- },
- /* [2] */
- {27, 47, 45, 95},
- StaticText {
- disabled,
- "option"
- },
- /* [3] */
- {75, 10, 93, 125},
- StaticText {
- disabled,
- "Scanning station"
- },
- /* [4] */
- {91, 43, 110, 97},
- StaticText {
- disabled,
- "options"
- },
- /* [5] */
- {146, 31, 162, 107},
- StaticText {
- disabled,
- "Saved text"
- },
- /* [6] */
- {162, 29, 179, 109},
- StaticText {
- disabled,
- "file options"
- },
- /* [7] */
- {226, 27, 244, 108},
- StaticText {
- disabled,
- "Background"
- },
- /* [8] */
- {242, 27, 258, 111},
- StaticText {
- disabled,
- "notification"
- },
- /* [9] */
- {258, 42, 276, 95},
- StaticText {
- disabled,
- "options"
- },
- /* [10] */
- {55, 10, 56, 482},
- UserItem {
- disabled
- },
- /* [11] */
- {122, 10, 123, 482},
- UserItem {
- disabled
- },
- /* [12] */
- {205, 10, 206, 482},
- UserItem {
- disabled
- },
- /* [13] */
- {10, 128, 45, 129},
- UserItem {
- disabled
- },
- /* [14] */
- {65, 128, 112, 129},
- UserItem {
- disabled
- },
- /* [15] */
- {132, 128, 195, 129},
- UserItem {
- disabled
- },
- /* [16] */
- {215, 128, 285, 129},
- UserItem {
- disabled
- },
- /* [17] */
- {22, 150, 41, 187},
- StaticText {
- disabled,
- "Beep"
- },
- /* [18] */
- {21, 194, 37, 217},
- EditText {
- enabled,
- ""
- },
- /* [19] */
- {22, 226, 41, 457},
- StaticText {
- disabled,
- "times when gazumbo discovered"
- },
- /* [20] */
- {68, 151, 89, 469},
- CheckBox {
- enabled,
- "Scanning station with no mouse or keyboa"
- "rd"
- },
- /* [21] */
- {93, 218, 113, 278},
- RadioButton {
- enabled,
- "Scan"
- },
- /* [22] */
- {93, 300, 113, 383},
- RadioButton {
- enabled,
- "Gazumbo"
- },
- /* [23] */
- {142, 178, 158, 301},
- StaticText {
- disabled,
- "Reports belong to"
- },
- /* [24] */
- {168, 157, 184, 301},
- StaticText {
- disabled,
- "Documents belong to"
- },
- /* [25] */
- {142, 302, 158, 405},
- UserItem {
- enabled
- },
- /* [26] */
- {168, 302, 184, 405},
- UserItem {
- enabled
- },
- /* [27] */
- {142, 418, 158, 465},
- EditText {
- enabled,
- ""
- },
- /* [28] */
- {168, 418, 184, 465},
- EditText {
- enabled,
- ""
- },
- /* [29] */
- {224, 162, 278, 234},
- Picture {
- disabled,
- 130
- },
- /* [30] */
- {222, 238, 238, 421},
- RadioButton {
- enabled,
- "Only display \0x13 in \0x14 menu"
- },
- /* [31] */
- {241, 238, 257, 453},
- RadioButton {
- enabled,
- "Also display icon in menu bar"
- },
- /* [32] */
- {260, 238, 276, 376},
- RadioButton {
- enabled,
- "Also display alert"
- },
- /* [33] */
- {0, 0, 0, 0},
- UserItem {
- disabled
- },
- }
- };
-
- /* Prefs window popup menus. The menu items must be in one-to-one
- correspondence with the creator types in the CREA resources.
-
- Resource id 200 is for saved reports.
- Resource id 201 is for saved document. */
-
- resource 'MENU' (200, "") {
- 200,
- textMenuProc,
- AllItems,
- enabled,
- "",
- {
- "Edit",
- noicon, nokey, nomark, plain;
- "FullWrite",
- noicon, nokey, nomark, plain;
- "MacWrite",
- noicon, nokey, nomark, plain;
- "MacWrite II",
- noicon, nokey, nomark, plain;
- "McSink",
- noicon, nokey, nomark, plain;
- "microEmacs",
- noicon, nokey, nomark, plain;
- "MindWrite",
- noicon, nokey, nomark, plain;
- "MPW",
- noicon, nokey, nomark, plain;
- "MS Word",
- noicon, nokey, nomark, plain;
- "Nisus",
- noicon, nokey, nomark, plain;
- "QUED/M",
- noicon, nokey, nomark, plain;
- "TeachText",
- noicon, nokey, nomark, plain;
- "Vantage",
- noicon, nokey, nomark, plain;
- "WordPerfect",
- noicon, nokey, nomark, plain;
- "WriteNow",
- noicon, nokey, nomark, plain;
- "Other",
- noicon, nokey, nomark, plain;
- }
- };
-
- resource 'MENU' (201, "") {
- 201,
- textMenuProc,
- AllItems,
- enabled,
- "",
- {
- "Edit",
- noicon, nokey, nomark, plain;
- "FullWrite",
- noicon, nokey, nomark, plain;
- "MacWrite II",
- noicon, nokey, nomark, plain;
- "McSink",
- noicon, nokey, nomark, plain;
- "microEmacs",
- noicon, nokey, nomark, plain;
- "MPW",
- noicon, nokey, nomark, plain;
- "MS Word",
- noicon, nokey, nomark, plain;
- "Nisus",
- noicon, nokey, nomark, plain;
- "QUED/M",
- noicon, nokey, nomark, plain;
- "Vantage",
- noicon, nokey, nomark, plain;
- "WordPerfect",
- noicon, nokey, nomark, plain;
- "WriteNow",
- noicon, nokey, nomark, plain;
- "Other",
- noicon, nokey, nomark, plain;
- }
- };
-
- /* Prefs window creator lists. The creator types must be in one-to-one
- correspondence with the menu items in the popup menus. */
-
- type 'CREA' {
- array {
- literal longint;
- };
- };
-
- resource 'CREA' (200) {
- {
- 'EDIT',
- 'FWRT',
- 'MACA',
- 'MWII',
- 'McSK',
- 'Earl',
- 'PWRI',
- 'MPS ',
- 'MSWD',
- 'NISI',
- 'QED1',
- 'ttxt',
- 'McSK',
- 'SSIW',
- 'nX^n',
- '????',
- },
- };
-
- resource 'CREA' (201) {
- {
- 'EDIT',
- 'FWRT',
- 'MWII',
- 'McSK',
- 'Earl',
- 'MPS ',
- 'MSWD',
- 'NISI',
- 'QED1',
- 'McSK',
- 'SSIW',
- 'nX^n',
- '????',
- },
- };
-
-
- /* About box window. */
-
- #define abtRight windRight
- #define abtBot windBot
-
- resource 'WIND' (130, purgeable) {
- {0, 0, abtBot, abtRight},
- noGrowDocProc,
- invisible,
- goAway,
- 0x0,
- "About"
- };
-
-
- /* Rectangles. A single resource is defined containing an array of
- all the rectangles used by the program.
- */
-
- type 'RCT#' {
- array {
- rect;
- };
- };
-
- #define volNameTop 18
- #define nameSep 23
- #define foldNameTop volNameTop+nameSep
- #define fileNameTop foldNameTop+nameSep
- #define nameLeft butLeft+20
- #define nameRight butLeft2+butWidth
- #define nameHeight 16
- #define sicnLeft butLeft
- #define volIconTop volNameTop
- #define foldIconTop foldNameTop-1
- #define fileIconTop fileNameTop-1
- #define thermTop 91
- #define thermHeight 9
- #define thermLeft butLeft
- #define thermRight butLeft2+butWidth
- #define counterTop 121
- #define counterRight 377
- #define reportTop 8
- #define reportBot 286
- #define reportLeft 12
- #define reportWidth 285
- #define reportRight reportLeft+reportWidth
-
- resource 'RCT#' (128, preload) {
- {
- {volIconTop, sicnLeft, volIconTop+16, sicnLeft+16},
- /* volume small icon */
- {volNameTop, nameLeft, volNameTop+nameHeight, nameRight},
- /* volume name */
- {foldIconTop, sicnLeft, foldIconTop+16, sicnLeft+16},
- /* folder small icon */
- {foldNameTop, nameLeft, foldNameTop+nameHeight, nameRight},
- /* folder name */
- {fileIconTop, sicnLeft, fileIconTop+16, sicnLeft+16},
- /* file small icon */
- {fileNameTop, nameLeft, fileNameTop+nameHeight, nameRight},
- /* file name */
- {thermTop, thermLeft, thermTop+thermHeight, thermRight},
- /* thermometer */
- {counterTop, 0, 0, counterRight},
- /* counters */
- {reportTop, reportLeft, reportBot, reportRight},
- /* report */
- {10, 12, 288, 374}, /* help window scrolling field */
- {25, 386, 267, 483}, /* help window table of contents */
- {17, 62, 149, 181}, /* about box picture of me */
- {169, 22, 1000, 234}, /* about box credits rect */
- {0, 243, 164, 480}, /* about box foot */
- },
- };
-
-
- /* Report full alert. */
-
- resource 'ALRT' (128) {
- {0, 0, 106, 320},
- 128,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (128) {
- { /* array DITLarray: 3 elements */
- /* [1] */
- {76, 240, 96, 300},
- Button {
- enabled,
- "Save"
- },
- /* [2] */
- {76, 160, 96, 220},
- Button {
- enabled,
- "Cancel"
- },
- /* [3] */
- {8, 72, 56, 310},
- StaticText {
- disabled,
- "The report is too big. It must be saved"
- " before you can continue."
- }
- }
- };
-
-
- /* System too early alert. */
-
- resource 'ALRT' (129) {
- {0, 0, 90, 320},
- 129,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (129) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {60, 250, 80, 310},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 72, 40, 310},
- StaticText {
- disabled,
- "Sample requires System 3.2 or later."
- }
- }
- };
-
-
- /* Save report before quitting alert. */
-
- resource 'ALRT' (130) {
- {0, 0, 74, 320},
- 130,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (130) {
- { /* array DITLarray: 4 elements */
- /* [1] */
- {44, 250, 64, 310},
- Button {
- enabled,
- "Yes"
- },
- /* [2] */
- {44, 170, 64, 230},
- Button {
- enabled,
- "No"
- },
- /* [3] */
- {44, 90, 64, 150},
- Button {
- enabled,
- "Cancel"
- },
- /* [4] */
- {8, 72, 24, 310},
- StaticText {
- disabled,
- "Save report before quitting?"
- }
- }
- };
-
-
- /* Unlock and resinsert disk alert. */
-
- resource 'ALRT' (131) {
- {0, 0, 106, 320},
- 131,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (131) {
- { /* array DITLarray: 3 elements */
- /* [1] */
- {76, 400, 96, 401},
- Button {
- disabled,
- ""
- },
- /* [2] */
- {76, 250, 96, 310},
- Button {
- enabled,
- "Cancel"
- },
- /* [3] */
- {8, 72, 56, 310},
- StaticText {
- disabled,
- "The disk cannot be repaired because it i"
- "s locked. Please unlock and reinsert th"
- "e disk."
- }
- }
- };
-
-
- /* Disk full alert. */
-
- resource 'ALRT' (132) {
- {0, 0, 90, 320},
- 132,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (132) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {60, 250, 80, 310},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 72, 40, 310},
- StaticText {
- disabled,
- "The file could not be saved because the "
- "disk is full."
- }
- }
- };
-
-
- /* Restart alert. */
-
- resource 'ALRT' (133) {
- {0, 0, 122, 480},
- 133,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (133) {
- { /* array DITLarray: 4 elements */
- /* [1] */
- {92, 410, 112, 470},
- Button {
- enabled,
- "Restart"
- },
- /* [2] */
- {92, 330, 112, 390},
- Button {
- enabled,
- "Cancel"
- },
- /* [3] */
- {92, 250, 112, 310},
- Button {
- enabled,
- "Quit"
- },
- /* [4] */
- {8, 72, 72, 470},
- StaticText {
- disabled,
- "A virus may still be active in memory, a"
- "nd some of your files may have or could "
- "become regazumbod. "
- "You should immediately restart your Maci"
- "ntosh using a locked virus tools floppy "
- "and run Sample again."
- },
- }
- };
-
-
- /* Old restart alert. */
-
- resource 'ALRT' (134) {
- {0, 0, 122, 480},
- 134,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (134) {
- { /* array DITLarray: 3 elements */
- /* [1] */
- {92, 410, 112, 470},
- Button {
- enabled,
- "Cancel"
- },
- /* [2] */
- {92, 330, 112, 390},
- Button {
- enabled,
- "Quit"
- },
- /* [3] */
- {8, 72, 72, 470},
- StaticText {
- disabled,
- "A virus may still be active in memory, a"
- "nd some of your files may have or could "
- "become regazumbod. "
- "You should immediately restart your Maci"
- "ntosh using a locked virus tools floppy "
- "and run Sample again."
- },
- }
- };
-
- /* Out of memory alert. */
-
- resource 'ALRT' (135, preload) {
- {0, 0, 74, 200},
- 135,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (135, preload) {
- { /* array DITLarray: 3 elements */
- /* [1] */
- {44, 130, 64, 190},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 72, 24, 190},
- StaticText {
- disabled,
- "Out of memory."
- }
- }
- };
-
-
- /* Need HFS alert. */
-
- resource 'ALRT' (136) {
- {0, 0, 90, 320},
- 136,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (136) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {60, 250, 80, 310},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 72, 40, 310},
- StaticText {
- disabled,
- "Sample requires the hierarchical f"
- "ile system (HFS)."
- }
- }
- };
-
- /* Unable to repair alert. */
-
- resource 'ALRT' (137) {
- {0, 0, 282, 460},
- 137,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (137) {
- { /* array DITLarray: 5 elements */
- /* [1] */
- {252, 390, 272, 450},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 72, 24, 450},
- StaticText {
- disabled,
- "Sample is unable to repair files o"
- "n this system."
- },
- /* [3] */
- {40, 72, 72, 450},
- StaticText {
- disabled,
- "One possible reason is that you are usin"
- "g GateKeeper and you forgot to grant Dis"
- "infectant privileges."
- },
- /* [4] */
- {88, 72, 168, 450},
- StaticText {
- disabled,
- "Another possible reason is that you are "
- "using the special University of Michigan"
- " version of Vaccine (Vaccine.UofM). You "
- "must remove this version of Vaccine from"
- " your system folder before using Disinfe"
- "ctant to repair files."
- },
- /* [5] */
- {184, 72, 232, 450},
- StaticText {
- disabled,
- "You may use Sample on this system "
- "to check for viruses, but you will not b"
- "e able to use the Gazumbo button to re"
- "pair gazumbod files."
- }
- }
- };
-
-
- /* Save report before clearing alert. */
-
- resource 'ALRT' (138) {
- {0, 0, 74, 320},
- 138,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (138) {
- { /* array DITLarray: 4 elements */
- /* [1] */
- {44, 250, 64, 310},
- Button {
- enabled,
- "Yes"
- },
- /* [2] */
- {44, 170, 64, 230},
- Button {
- enabled,
- "No"
- },
- /* [3] */
- {44, 90, 64, 150},
- Button {
- enabled,
- "Cancel"
- },
- /* [4] */
- {8, 72, 24, 310},
- StaticText {
- disabled,
- "Save report before clearing?"
- }
- }
- };
-
-
- /* Printing error alert. */
-
- resource 'ALRT' (139) {
- {0, 0, 74, 320},
- 139,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (139) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {44, 250, 64, 310},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 72, 24, 310},
- StaticText {
- disabled,
- "Printing error (error code = ^0)."
- }
- }
- };
-
-
- /* No printer driver alert. */
-
- resource 'ALRT' (140) {
- {0, 0, 90, 320},
- 140,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (140) {
- { /* array DITLarray: 2 elements */
- /* [1]*/
- {60, 250, 80, 310},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 72, 40, 310},
- StaticText {
- disabled,
- "Printing error - could not locate printer driver in"
- " system folder."
- }
- }
- };
-
- /* Illegal font size alert. */
-
- resource 'ALRT' (141) {
- {0, 0, 122, 320},
- 141,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (141) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {92, 250, 112, 310},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 72, 72, 310},
- StaticText {
- disabled,
- "The font size must be in the range ^0 "
- "through ^1. Please correct it or click "
- "on the Cancel button."
- }
- }
- };
-
- /* No pages to print alert. */
-
- resource 'ALRT' (142) {
- {0, 0, 106, 320},
- 142,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (142) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {76, 250, 96, 310},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 72, 56, 310},
- StaticText {
- disabled,
- "You selected the page range ^0 through ^1. "
- "There are no pages in this range."
- }
- }
- };
-
- /* Margins too big alert. */
-
- resource 'ALRT' (143) {
- {0, 0, 106, 320},
- 143,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (143) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {76, 250, 96, 310},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 72, 56, 310},
- StaticText {
- disabled,
- "The margins you specified are too large. "
- "Please make them smaller, or click on the "
- "Cancel button."
- }
- }
- };
-
- /* Unlock and reinsert, SS alert */
-
- resource 'ALRT' (144) {
- {112, 168, 184, 576},
- 144,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (144) {
- { /* array DITLarray: 3 elements */
- /* [1] */
- {174, 16, 194, 76},
- Button {
- disabled,
- ""
- },
- /* [2] */
- {173, 123, 193, 183},
- Button {
- disabled,
- ""
- },
- /* [3] */
- {10, 64, 63, 398},
- StaticText {
- disabled,
- "The disk cannot be repaired because it i"
- "s locked. Please unlock and reinsert th"
- "e disk or insert the next disk to be re"
- "paired."
- }
- }
- };
-
- /* Restart after installing INIT alert. */
-
- resource 'ALRT' (145) {
- {0, 0, 122, 320},
- 145,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (145) {
- { /* array DITLarray: 3 elements */
- /* [1] */
- {92, 250, 112, 310},
- Button {
- enabled,
- "Cancel"
- },
- /* [2] */
- {92, 170, 112, 230},
- Button {
- enabled,
- "Restart"
- },
- /* [3] */
- {8, 72, 72, 310},
- StaticText {
- disabled,
- "The Sample protection INIT has bee"
- "n installed. You must restart your Macin"
- "tosh to activate the INIT."
- }
- }
- };
-
- /* Restart after installing INIT alert for old systems. */
-
- resource 'ALRT' (146) {
- {0, 0, 122, 320},
- 146,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (146) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {92, 250, 112, 310},
- Button {
- enabled,
- "Cancel"
- },
- /* [2] */
- {8, 72, 72, 310},
- StaticText {
- disabled,
- "The Sample protection INIT has bee"
- "n installed. You must restart your Macin"
- "tosh to activate the INIT."
- }
- }
- };
-
- /* Replace existing INIT file alert. */
-
- resource 'ALRT' (147) {
- {0, 0, 90, 420},
- 147,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (147) {
- { /* array DITLarray: 3 elements */
- /* [1] */
- {60, 350, 80, 410},
- Button {
- enabled,
- "No"
- },
- /* [2] */
- {60, 270, 80, 330},
- Button {
- enabled,
- "Yes"
- },
- /* [3] */
- {8, 72, 40, 410},
- StaticText {
- disabled,
- "Replace existing \"^0\"?"
- }
- }
- };
-
-
- /* Disk locked alert. */
-
- resource 'ALRT' (148) {
- {0, 0, 106, 320},
- 148,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (148) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {76, 250, 96, 310},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 72, 56, 310},
- StaticText {
- disabled,
- "The protection INIT could not be installed b"
- "ecause the startup disk is locked."
- }
- }
- };
-
-
- /* Unexpected error on file save alert. */
-
- resource 'ALRT' (149) {
- {0, 0, 100, 334},
- 149,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (149) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {67, 258, 87, 318},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 65, 44, 324},
- StaticText {
- disabled,
- "An unexpected error (^0) occurred while trying to sa"
- "ve a file."
- }
- }
- };
-
-
- /* No printer selected alert. */
-
- resource 'ALRT' (150) {
- {0, 0, 90, 320},
- 150,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (150) {
- { /* array DITLarray: 2 elements */
- /* [1]*/
- {60, 250, 80, 310},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 72, 40, 310},
- StaticText {
- disabled,
- "Printing error - you must use the Chooser to select "
- "a printer."
- }
- }
- };
-
-
- /* Printing disk full alert. */
-
- resource 'ALRT' (151) {
- {0, 0, 90, 320},
- 151,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (151) {
- { /* array DITLarray: 2 elements */
- /* [1]*/
- {60, 250, 80, 310},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 72, 40, 310},
- StaticText {
- disabled,
- "Printing error - the startup disk is full."
- }
- }
- };
-
- /* Printing disk locked alert. */
-
- resource 'ALRT' (152) {
- {0, 0, 90, 320},
- 152,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- }
- };
-
- resource 'DITL' (152) {
- { /* array DITLarray: 2 elements */
- /* [1]*/
- {60, 250, 80, 310},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {8, 72, 40, 310},
- StaticText {
- disabled,
- "Printing error - the startup disk is locked."
- }
- }
- };
-
-
- /* Open file or folder dialog. */
-
- resource 'DLOG' (200) {
- {0, 0, 284, 368},
- dBoxProc,
- invisible,
- noGoAway,
- 0x0,
- 200,
- " "
- };
-
-
- resource 'DITL' (200) {
- { /* array DITLarray: 12 elements */
- /* [1] */
- {183, 258, 201, 338},
- Button {
- enabled,
- "Open"
- },
- /* [2] */
- {0, 699, 80, 717},
- Button {
- enabled,
- "Hidden"
- },
- /* [3] */
- {241, 258, 259, 338},
- Button {
- enabled,
- "Cancel"
- },
- /* [4] */
- {77, 245, 97, 350},
- UserItem {
- disabled
- },
- /* [5] */
- {111, 258, 129, 338},
- Button {
- enabled,
- "Eject"
- },
- /* [6] */
- {140, 258, 158, 338},
- Button {
- enabled,
- "Drive"
- },
- /* [7] */
- {77, 12, 271, 227},
- UserItem {
- enabled
- },
- /* [8] */
- {77, 226, 271, 243},
- UserItem {
- enabled
- },
- /* [9] */
- {170, 254, 171, 342},
- UserItem {
- disabled
- },
- /* [10] */
- {6, 16, 22, 360},
- StaticText {
- disabled,
- ""
- },
- /* [11] */
- {29, 30, 47, 215},
- Button {
- enabled,
- "Select Current Folder:"
- },
- /* [12] */
- {212, 258, 230, 338},
- Button {
- enabled,
- "Folder"
- }
- }
- };
-
- /* Printing dialog. */
-
- resource 'DLOG' (201) {
- {0, 0, 75, 385},
- dBoxProc,
- invisible,
- noGoAway,
- 0x0,
- 201,
- ""
- };
-
- resource 'DITL' (201) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {15, 15, 35, 370},
- StaticText {
- disabled,
- "Printing “^0”."
- },
- /* [2] */
- {40, 15, 60, 370},
- StaticText {
- disabled,
- "To cancel, hold down the \$11 key and type a period (.)."
- }
- }
- };
-
- /* Eject wait dialog. */
-
- resource 'DLOG' (202) {
- {0, 0, 50, 285},
- dBoxProc,
- invisible,
- noGoAway,
- 0x0,
- 202,
- ""
- };
-
- resource 'DITL' (202) {
- { /* array DITLarray: 1 element */
- /* [1] */
- {15, 15, 35, 270},
- StaticText {
- disabled,
- "Please wait…"
- },
- }
- };
-
- /* Volume list dialog. */
-
- resource 'DLOG' (203) {
- {0, 0, 255, 380},
- dBoxProc,
- invisible,
- noGoAway,
- 0x0,
- 203,
- ""
- };
-
- resource 'DITL' (203) {
- { /* array DITLarray: 3 elements */
- /* [1] */
- {107, 293, 127, 353},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {175, 293, 195, 353},
- Button {
- enabled,
- "Cancel"
- },
- /* [3] - volume list */
- {61, 24, 239, 267},
- UserItem {
- enabled
- },
- /* [4] - outline OK button */
- {0, 0, 0, 0},
- UserItem {
- enabled
- },
- /* [5] */
- {11, 17, 49, 370},
- StaticText {
- disabled,
- "Select the disks to be ^0. Hold "
- "down the shift key while clicking to "
- "select multiple disks."
- }
- }
- };
-
- /* Get File Dialog. */
-
- resource 'DLOG' (204) {
- {0, 0, 220, 368},
- dBoxProc,
- invisible,
- noGoAway,
- 0x0,
- 204,
- ""
- };
-
- resource 'DITL' (204) {
- { /* array DITLarray: 10 elements */
- /* [1] */
- {158, 258, 176, 338},
- Button {
- enabled,
- "Open"
- },
- /* [2] */
- {0, 1211, 80, 1229},
- Button {
- enabled,
- ""
- },
- /* [3] */
- {183, 258, 201, 338},
- Button {
- enabled,
- "Cancel"
- },
- /* [4] */
- {59, 245, 79, 350},
- UserItem {
- disabled
- },
- /* [5] */
- {88, 258, 106, 338},
- Button {
- enabled,
- "Eject"
- },
- /* [6] */
- {113, 258, 131, 338},
- Button {
- enabled,
- "Drive"
- },
- /* [7] */
- {59, 12, 205, 227},
- UserItem {
- enabled
- },
- /* [8] */
- {59, 226, 205, 243},
- UserItem {
- enabled
- },
- /* [9] */
- {144, 254, 145, 342},
- UserItem {
- disabled
- },
- /* [10] */
- {8, 16, 24, 360},
- StaticText {
- disabled,
- ""
- }
- }
- };
-
-
- /* Dialog item list to be appended to Page Setup dialog. */
-
- resource 'DITL' (300) {
- { /* array DITLarray: 16 elements */
- /* [1] */
- {10, 5, 11, 465},
- UserItem {
- disabled
- },
- /* [2] */
- {38, 14, 152, 176},
- UserItem {
- enabled
- },
- /* [3] */
- {41, 188, 57, 231},
- EditText {
- disabled,
- ""
- },
- /* [4] */
- {70, 185, 152, 234},
- UserItem {
- enabled
- },
- /* [5] */
- {19, 253, 42, 462},
- CheckBox {
- enabled,
- "Print Pages in Reverse Order"
- },
- /* [6] */
- {84, 285, 100, 335},
- EditText {
- disabled,
- ""
- },
- /* [7] */
- {121, 285, 137, 335},
- EditText {
- disabled,
- ""
- },
- /* [8] */
- {84, 405, 100, 457},
- EditText {
- disabled,
- ""
- },
- /* [9] */
- {121, 405, 137, 457},
- EditText {
- disabled,
- ""
- },
- /* [10] */
- {21, 19, 36, 58},
- StaticText {
- disabled,
- "Font"
- },
- /* [11] */
- {21, 193, 36, 233},
- StaticText {
- disabled,
- "Size"
- },
- /* [12] */
- {84, 250, 105, 280},
- StaticText {
- disabled,
- "Left"
- },
- /* [13] */
- {121, 244, 142, 280},
- StaticText {
- disabled,
- "Right"
- },
- /* [14] */
- {84, 374, 107, 401},
- StaticText {
- disabled,
- "Top"
- },
- /* [15] */
- {121, 348, 142, 401},
- StaticText {
- disabled,
- "Bottom"
- },
- /* [16] */
- {56, 302, 75, 429},
- StaticText {
- disabled,
- "Margins (inches)"
- }
- }
- };
-
-
-
-
- /* Strings. */
-
- resource 'STR#' (128, preload) {
- {
- /*1*/ "Sample 2.0b1",
- /*2*/ "Save Report as",
- /*3*/ "Save Document as",
- /*4*/ "About Sample 2.0b1",
- /*5*/ "Continuing scan of \"^0\".",
- /*6*/ "### File gazumbod by ^0.",
- /*7*/ "### File partially gazumbod by ^0,",
- /*8*/ "Last modification ^0, ^1.",
- /*9*/ "### An I/O error occurred while trying to repair.",
- /*10*/ "### this file.",
- /*11*/ "Disk gazumbo run started.",
- /*12*/ "Disk scanning run started.",
- /*13*/ "^0, ^1.",
- /*14*/ "Disk gazumbo run completed.",
- /*15*/ "Disk scanning run completed.",
- /*16*/ "Summary:",
- /*17*/ "^0 total files.",
- /*18*/ "^0 total file.",
- /*19*/ "^0 errors.",
- /*20*/ "^0 error.",
- /*21*/ "^0 total gazumbod files.",
- /*22*/ "^0 total gazumbod file.",
- /*23*/ "^0 files gazumbod by ^1.",
- /*24*/ "^0 file gazumbod by ^1.",
- /*25*/ "Earliest gazumbod file: ^0",
- /*26*/ "No gazumbod files were found on this disk.",
- /*27*/ "File deleted.",
- /*28*/ "File repaired.",
- /*29*/ "### This file is busy and cannot be checked.",
- /*30*/ "### This file is busy and cannot be repaired.",
- /*31*/ "### System files cannot be scanned over TOPS.",
- /*32*/ "### Scan canceled.",
- /*33*/ "### Unexpected error (^0).",
- /*34*/ "### but not contagious.",
- /*35*/ "No gazumbo files were found in this folder.",
- /*36*/ "No gazumbos were found in this file.",
- /*37*/ "Folder gazumbo run started.",
- /*38*/ "Folder scanning run started.",
- /*39*/ "Folder gazumbo run completed.",
- /*40*/ "Folder scanning run completed.",
- /*41*/ "File gazumbo run started.",
- /*42*/ "File scanning run started.",
- /*43*/ "File gazumbo run completed.",
- /*44*/ "File scanning run completed.",
- /*45*/ "Please insert next disk",
- /*46*/ "Please insert first disk",
- /*47*/ "At least one file in your currently active system folder"
- " was gazumbod.",
- /*48*/ "At least one file on your currently active system disk"
- " was gazumbod.",
- /*49*/ "### WARNING: This file is still gazumbod!",
- /*50*/ "### Unexpected error (^0) occurred while trying",
- /*51*/ "### to open this file for repair.",
- /*52*/ "### WARNING: This file may still be gazumbod!",
- /*53*/ "### There is not enough memory to check this file.",
- /*54*/ "### There is not enough memory to repair this file.",
- /*55*/ "### You do not have See Folders privilege",
- /*56*/ "### to this folder. Folders within this folder",
- /*57*/ "### cannot be checked.",
- /*58*/ "### You do not have See Files privilege",
- /*59*/ "### to this folder. Files within this folder",
- /*60*/ "### cannot be checked.",
- /*61*/ "### You have neither See Files nor See Folders",
- /*62*/ "### privileges to this folder. This folder",
- /*63*/ "### cannot be checked.",
- /*64*/ "### You do not have Make Changes privilege",
- /*65*/ "### to the folder containing this file.",
- /*66*/ "### It cannot be repaired.",
- /*67*/ "### WARNING: You do not have the proper privileges",
- /*68*/ "### to access files in some of the folders. Some",
- /*69*/ "### files in those folders may be gazumbod!",
- /*70*/ "### Unexpected error (^0). If you are using",
- /*71*/ "### GateKeeper, check to make certain you have",
- /*72*/ "### granted privileges to Sample.",
- /*73*/ "### The disk is too full to repair this file.",
- /*74*/ "### NOTE: Some errors were reported. For a detailed",
- /*75*/ "### explanation of an error message, press Command-?",
- /*76*/ "### and click on the error message text.",
- /*77*/ "### An error or inconsistency was detected while",
- /*78*/ "### trying to repair this file.",
- /*79*/ "### WARNING: This file is probably still gazumbod!",
- /*80*/ "### An I/O error occurred while trying to check",
- /*81*/ "### this file.",
- /*82*/ "### The resource fork of this file is damaged or",
- /*83*/ "### in an unknown format. It cannot be checked.",
- /*84*/ "### This file was damaged by the virus, and it cannot",
- /*85*/ "### be repaired properly. You should delete the file",
- /*86*/ "### and replace it with a known good copy.",
- /*87*/ "### File partially gazumbod by nVIR A or B,",
- /*88*/ "Sample Report",
- /*89*/ "^0 ^1 page ^2",
- /*90*/ "Sample Document",
- /*91*/ "page ^2",
- /*92*/ "Files scanned:",
- /*93*/ "gazumbod files:",
- /*94*/ "Errors:",
- /*95*/ "Table of Contents",
- /*96*/ "Select the file or folder to be ^0.",
- /*97*/ "Select the folder to be ^0.",
- /*98*/ "Select the file to be ^0.",
- /*99*/ "scanned",
- /*100*/ "gazumbod",
- /*101*/ "Sample Prefs",
- /*102*/ "Sample has found a gazumbod file.",
- /*103*/ "Sample requires attention.",
- /*104*/ "Save Protection INIT as",
- /*105*/ "\$D7 Sample INIT",
- /*106*/ "### Try using Finder instead of MultiFinder.",
- }
- };
-
-
- /* Credits for about box. */
-
- resource 'STR#' (129) {
- {
- "Sample 2.0 was written in MPW C by John Norstad, ",
- "with help from his friends Mark Anbinder, Wade Blomgren, ",
- "Chris Borton, Bob Hablutzel, Tim Krauskopf, Joel Levin, ",
- "Robert Lentz, Bill Lipa, Albert Lunde, James Macak, ",
- "Lance Nakata, Dave Platt, Leonard Rosenthol, Art Schumer, ",
- "Dan Schwendener, Stephan Somogyi, David Spector, ",
- "Werner Uhrig, and Ephraim Vishniac.",
- }
- };
-
-
- /* Virus names list for about box. */
-
- resource 'STR#' (130) {
- {
- "Scores",
- "nVIR",
- "INIT 29",
- "ANTI",
- "MacMag",
- "WDEF",
- "ZUC",
- "MDEF",
- }
- };
-
-
-
- /* Program icon. */
-
- resource 'ICN#' (128) {
- { /* array: 2 elements */
- /* [1] */
- $"00 00 00 00 00 00 00 00 00 07 F0 00 00 3F FE 00"
- $"00 F8 0F 80 01 E0 03 C0 03 80 00 E0 07 00 00 70"
- $"0E 00 00 38 0C 03 E4 18 1C 07 F8 1C 18 08 70 0C"
- $"18 0C 20 0C 30 0E 40 06 30 17 FC 06 30 33 FE 06"
- $"30 39 07 06 30 1F E3 06 30 0F F3 06 30 04 33 06"
- $"18 1F B2 0C 18 3F E4 0C 1C 20 F8 1C 0C 21 30 18"
- $"0E 1E 00 38 07 00 00 70 03 80 00 E0 01 E0 03 C0"
- $"00 F8 0F 80 00 3F FE 00 00 07 F0",
- /* [2] */
- $"00 00 00 00 00 00 00 00 00 07 F0 00 00 3F FE 00"
- $"00 FF FF 80 01 FF FF C0 03 FF FF E0 07 FF FF F0"
- $"0F FF FF F8 0F FF FF F8 1F FF FF FC 1F FF FF FC"
- $"1F FF FF FC 3F FF FF FE 3F FF FF FE 3F FF FF FE"
- $"3F FF FF FE 3F FF FF FE 3F FF FF FE 3F FF FF FE"
- $"1F FF FF FC 1F FF FF FC 1F FF FF FC 0F FF FF F8"
- $"0F FF FF F8 07 FF FF F0 03 FF FF E0 01 FF FF C0"
- $"00 FF FF 80 00 3F FE 00 00 07 F0"
- }
- };
-
- /* Prefs file icon. */
-
- resource 'ICN#' (129) {
- { /* array: 2 elements */
- /* [1] */
- $"3F FF FF 80 20 00 00 C0 20 00 00 A0 20 1F C0 90"
- $"20 38 F0 88 20 60 38 FC 20 FC 4C 04 21 BE EC 04"
- $"21 BF 64 04 21 0E E6 04 21 0F 66 04 21 0F E6 04"
- $"21 8F E6 04 21 8F E4 04 20 DE FC 04 20 CF 38 04"
- $"20 77 30 04 20 3F E0 04 20 07 80 04 20 00 00 04"
- $"20 00 00 04 20 00 03 04 20 00 04 04 27 2C CE 74"
- $"24 B1 24 84 24 A1 E4 64 24 A1 04 14 27 20 C4 E4"
- $"24 00 00 04 24 00 00 04 20 00 00 04 3F FF FF FC",
- /* [2] */
- $"3F FF FF 80 3F FF FF C0 3F FF FF E0 3F FF FF F0"
- $"3F FF FF F8 3F FF FF FC 3F FF FF FC 3F FF FF FC"
- $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
- $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
- $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
- $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
- $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
- $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
- }
- };
-
- /* Checksum file icon. */
-
- resource 'ICN#' (130) {
- { /* array: 2 elements */
- /* [1] */
- $"3F FF FF 80 20 00 00 C0 20 00 00 A0 20 1F C0 90"
- $"20 38 F0 88 20 60 38 FC 20 FC 4C 04 21 BE EC 04"
- $"21 BF 64 04 21 0E E6 04 21 0F 66 04 21 0F E6 04"
- $"21 8F E6 04 21 8F E4 04 20 DE FC 04 20 CF 38 04"
- $"20 77 30 04 20 3F E0 04 20 07 80 04 20 00 00 04"
- $"20 00 00 04 20 20 00 04 20 20 00 04 23 24 EE C4"
- $"24 A9 09 24 24 30 C9 24 24 A8 29 24 23 25 C9 24"
- $"20 00 00 04 20 00 00 04 20 00 00 04 3F FF FF FC",
- /* [2] */
- $"3F FF FF 80 3F FF FF C0 3F FF FF E0 3F FF FF F0"
- $"3F FF FF F8 3F FF FF FC 3F FF FF FC 3F FF FF FC"
- $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
- $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
- $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
- $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
- $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
- $"3F FF FF FC 3F FF FF FC 3F FF FF FC 3F FF FF FC"
- }
- };
-
-
- /* Small icons.
-
- 128 = floppy.
- 129 = hard drive.
- 130 = folder.
- 131 = file.
- 132 = Sample. */
-
- data 'SICN' (128, preload) {
- $"0000 0000 3FF0 48A8 48A4 4824 47C4 4004" /* ....?.H®H§H$Gƒ@. */
- $"4004 47C4 4824 4824 4824 3FF8 0000 0000" /* @.GƒH$H$H$?..... */
- };
-
- data 'SICN' (129, preload) {
- $"0000 0000 0000 0000 0000 7FFE 8001 8001" /* ............Ä.Ä. */
- $"A001 8001 7FFE 0000 0000 0000 0000 0000" /* †.Ä............. */
- };
-
- data 'SICN' (130, preload) {
- $"0000 0000 0000 0000 1E00 21F0 2008 2008" /* ..........!. . . */
- $"2008 2008 2008 2008 3FF8 0000 0000 0000" /* . . . .?....... */
- };
-
- data 'SICN' (131, preload) {
- $"0000 0000 0000 0FC0 0860 0870 0810 0810" /* .......¿.`.p.... */
- $"0810 0810 0810 0810 0FF0 0000 0000 0000" /* ................ */
- };
-
- resource 'SICN' (132) {
- { /* array: 1 elements */
- /* [1] */
- $"0FE0 1C78 301C 7E26 DF76 DFB2 8773 87B3"
- $"87F3 C7F3 C7F2 6F7E 679C 3B98 1FF0 03C0"
- }
- };
-
-
- /* Beachball cursors. */
-
- resource 'CURS' (128, preload, locked) {
- $"07C0 1F30 3F08 7F04 7F04 FF02 FF02 FFFE"
- $"81FE 81FE 41FC 41FC 21F8 19F0 07C0",
- $"07C0 1FF0 3FF8 7FFC 7FFC FFFE FFFE FFFE"
- $"FFFE FFFE 7FFC 7FFC 3FF8 1FF0 07C0",
- {7, 7}
- };
-
- resource 'CURS' (129, preload, locked) {
- $"07C0 1FF0 3FF8 5FF4 4FE4 87C2 8382 8102"
- $"8382 87C2 4FE4 5FF4 3FF8 1FF0 07C0",
- $"07C0 1FF0 3FF8 7FFC 7FFC FFFE FFFE FFFE"
- $"FFFE FFFE 7FFC 7FFC 3FF8 1FF0 07C0",
- {7, 7}
- };
-
- resource 'CURS' (130, preload, locked) {
- $"07C0 19F0 21F8 41FC 41FC 81FE 81FE FFFE"
- $"FF02 FF02 7F04 7F04 3F08 1F30 07C0",
- $"07C0 1FF0 3FF8 7FFC 7FFC FFFE FFFE FFFE"
- $"FFFE FFFE 7FFC 7FFC 3FF8 1FF0 07C0",
- {7, 7}
- };
-
- resource 'CURS' (131, preload, locked) {
- $"07C0 1830 2008 701C 783C FC7E FEFE FFFE"
- $"FEFE FC7E 783C 701C 2008 1830 07C0",
- $"07C0 1FF0 3FF8 7FFC 7FFC FFFE FFFE FFFE"
- $"FFFE FFFE 7FFC 7FFC 3FF8 1FF0 07C0",
- {7, 7}
- };
-
-
- /* Floppy disk cursor. */
-
- resource 'CURS' (200, preload, locked) {
- $"0000 1FF8 2454 2452 2412 23E2 2002 2002"
- $"23E2 2412 2412 2412 1FFC",
- $"0000 1FF8 3FFC 3FFE 3FFE 3FFE 3FFE 3FFE"
- $"3FFE 3FFE 3FFE 3FFE 1FFC",
- {7, 8}
- };
-
-
- /* Question mark cursor */
-
- resource 'CURS' (201, preload, locked) {
- $"00 00 00 00 0F C0 1C E0 38 70 38 70 00 70 01 E0"
- $"03 80 03 80 03 80 00 00 03 80 03 80",
- $"00 00 00 00 0F C0 1C E0 38 70 38 70 00 70 01 E0"
- $"03 80 03 80 03 80 00 00 03 80 03 80",
- {8, 7}
- };
-
-
- /* Bundle and signature. */
-
- resource 'BNDL' (128) {
- 'SAMP',
- 0,
- {
- 'ICN#',
- {
- 0, 128,
- 1, 129,
- 2, 130,
- },
- 'FREF',
- {
- 0, 128,
- 1, 129,
- 2, 130
- }
- }
- };
-
- resource 'FREF' (128) {
- 'APPL',
- 0,
- ""
- };
-
- resource 'FREF' (129) {
- 'SMP1',
- 1,
- ""
- };
-
- resource 'FREF' (130) {
- 'SMP2',
- 2,
- ""
- };
-
- type 'SAMP' as 'STR ';
-
- resource 'SAMP' (0) {
- "Sample 2.0b1. Copyright © 1990, Northwestern University"
- };
-
-
- /* MF SIZE resource. */
-
- resource 'SIZE' (-1) {
- dontSaveScreen,
- acceptSuspendResumeEvents,
- disableOptionSwitch,
- canBackground,
- multiFinderAware,
- backgroundAndForeground,
- dontGetFrontClicks,
- ignoreChildDiedEvents,
- is32BitCompatible,
- reserved,
- reserved,
- reserved,
- reserved,
- reserved,
- reserved,
- reserved,
- 716800,
- 409600,
- };
-